package com.example.questionnaire.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.questionnaire.pojo.DO.Questionnaire;
import com.example.questionnaire.pojo.DO.QuestionnaireData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface QuestionnaireDataMapper extends BaseMapper<QuestionnaireData> {
    String getIp(@Param("result_id") String result_id);
    String getAnswerSource(@Param("result_id") String result_id);
    String getFillInTheTime(@Param("result_id") String result_id);
    List<String> getResultId(@Param("formid") String formid);

    Integer selectAnswerNumber(@Param("formid") String formid);

}
